﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.QcManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.QcManagement.QcInspectItemVMs
{
    public partial class QcInspectItemBatchVM : BaseBatchVM<QcInspectItem, QcInspectItem_BatchEdit>
    {
        public QcInspectItemBatchVM()
        {
            ListVM = new QcInspectItemListVM();
            LinkedVM = new QcInspectItem_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class QcInspectItem_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._QcInspectItem._Template")]
        public long? TemplateId { get; set; }
        [Display(Name = "_Model._QcInspectItem._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._QcInspectItem._ProductName")]
        public string ProductName { get; set; }
        [Display(Name = "_Model._QcInspectItem._QcType")]
        public EquipTypeEnum? QcType { get; set; }
        [Display(Name = "_Model._QcInspectItem._InspectName")]
        public string InspectName { get; set; }
        [Display(Name = "_Model._QcInspectItem._InspectTool")]
        public string InspectTool { get; set; }
        [Display(Name = "_Model._QcInspectItem._Content")]
        public string Content { get; set; }
        [Display(Name = "_Model._QcInspectItem._RefValue")]
        public string RefValue { get; set; }
        [Display(Name = "_Model._QcInspectItem._Remark")]
        public string Remark { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}